/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bff.mpd.musicjukebox.ui.components;

import com.bff.mpd.musicjukebox.lib.actions.PlaylistInsertAlbumAction;
import java.awt.Dimension;
import javax.swing.JButton;
import org.bff.javampd.MPDPlaylist;
import org.bff.javampd.objects.MPDAlbum;


/**
 *
 * @author bfindeisen
 */
public class AlbumAddButton extends JButton {

    public AlbumAddButton(MPDPlaylist playlist, MPDAlbum album) {
        setAction(new PlaylistInsertAlbumAction(playlist, album));
        setFont(new java.awt.Font("Tahoma", 0, 10));
        setText(null);
        setContentAreaFilled(false);
        Dimension dim = new Dimension(16, 16);
        setPreferredSize(dim);
        setMinimumSize(dim);
        setMaximumSize(dim);
    }
}
